<ul class="three">
[%forlist from=$array key=i%]
    [%if $array[i].level<3%]
    <li [%if $array[i].level>1%]class="b"[%else%]class="a"[%/if%]>
	     <a class="typelink" href="[%$array[i].link%]">[%$array[i].typename%]</a>
    </li>
    [%/if%]
[%/forlist%]
</ul>
